html,
body {
  min-height: 100%;
  font-family: MicrosoftYaHei;
  font-size: 14px;
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

ul {
  list-style: none;
}

.el-dialog__wrapper.modify-class {
  display: flex;
  justify-content: center;
  align-items: center;

  .el-dialog {
    margin: 0 !important;
  }

  .el-dialog__header {
    height: 52px;
    padding: 13px 0 0 0;
    background: url('./assets/bg-header.png') no-repeat 100%;
  }

  .el-dialog__title {
    margin-left: 32px;
    font-size: 20px;
    font-weight: 400;
    color: #ffffff;
  }

  .el-dialog__headerbtn {
    top: 10px;
    right: 12px;
    font-size: 36px;

    .el-icon-close {
      color: #ffffff;
    }
  }

  .el-dialog__body {
    // min-height: 760px;
    // height: 650px;
    padding: 0 30px;
    background: #e7e9f2;
    overflow: auto;
  }

  .el-dialog__footer {
    padding: 0;
    background: #e7e9f2;
  }

  .dialog-footer {
    padding: 34px 0;
    text-align: center;

    .el-button {
      width: 130px;
      height: 40px;
      padding: 0;
      line-height: 40px;
      font-size: 22px;
    }

    .btn-comfirm {
      margin-right: 112px;
      color: #505971;
      border: 1px solid #316eff;
      background: linear-gradient(0deg, #d9dde8 0%, #ffffff 100%);
      border-radius: 3px;

      &:focus,
      &:hover {
        color: #fff;
        border-color: #185de7;
        background: linear-gradient(0deg, #185de7 0%, #4885ff 100%);
      }
    }

    .btn-cancel {
      line-height: 38px;
      color: #505971;
      border: 1px solid #316eff;
      background: linear-gradient(0deg, #d9dde8 0%, #ffffff 100%);
      border-radius: 3px;

      &:hover,
      &:focus {
        color: #505971;
      }
    }
  }
}

.el-table.modify-class {
  th {
    font-size: 18px;
    font-weight: normal;
    color: #505971;
    background: #d8dcea;
  }

  td {
    padding: 14px 0;
    font-size: 18px;
    color: #111434;
  }

  .opreation-col {
    .el-button {
      padding: 0;
      font-size: 20px;
      color: #8890a2;
    }
  }
}

.modify-form {
  .el-form-item__label {
    font-size: 16px;
    color: #505971;
  }
}

.modify-select {
  .el-input__inner {
    height: 34px;
    line-height: 32px;
    font-size: 18px;
    color: #111434;
    border: 1px solid #a8adb7;
    border-radius: 3px;
    background: transparent;
  }
  .el-input .el-select__caret {
    font-size: 20px;
  }
}
.table-select-poppper {
  margin-top: 2px !important;
  background: transparent;
  box-shadow: none;
  border: none;

  .el-select-dropdown__list {
    padding: 0;
  }

  .popper__arrow {
    display: none;
  }

  .is-empty,
  .el-cascader-node,
  .el-select-dropdown__empty,
  .el-select-dropdown__item {
    margin-top: 1px;
    height: 34px;
    line-height: 32px;
    font-size: 18px;
    color: #505971;
    text-align: center;
    background: #e6edfb;
    border: 1px solid #a8adb7;
    border-radius: 3px;

    &:hover,
    &.selected {
      color: #285fe3;
      border-color: #4181ff;
    }
  }

  .el-select-dropdown__empty {
    padding: 0;
  }
}

.form {
  padding-top: 36px;

  .el-form-item {
    margin-bottom: 30px;
  }

  .el-form-item__label {
    font-size: 16px;
    color: #505971;
  }
}

.date-picker {
  .el-input__inner {
    height: 34px;
    line-height: 32px;
    font-size: 18px;
    color: #111434;
    border: 1px solid #a8adb7;
    border-radius: 3px;
    background: transparent;
  }

  .el-icon-date {
    font-size: 20px;
  }

  .el-input__prefix {
    left: auto;
    right: 5px;
  }

  .el-input__inner {
    padding-left: 15px;
  }
}

.input .el-input__inner {
  background: transparent;
  border-radius: 0;
  border: none;
  font-size: 16px;
  border-bottom: 1px solid #a8adb7;
}

.modify-el-input .el-input__inner {
  background-color: transparent;
  border: 1px solid rgb(168, 173, 183);
  font-size: 18px;
}

.desc-input {
  .el-textarea__inner {
    background: transparent;
    border: 1px solid #a8adb7;
    border-radius: 0;
    font-size: 16px;
  }
}

.section-page {
  .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .section-title {
    font-size: 24px;
    text-decoration: underline;
    font-weight: normal;
    color: #111434;
  }
}

.btn-common {
  width: 40px;
  height: 40px;
  padding: 8px;
  font-size: 24px;
  color: #505971;
  border: 1px solid #a8adb7;
  background: linear-gradient(0deg, #d4dbe8 0%, #f8f9fb 100%);
  border-radius: 3px;

  &:hover,
  &:focus {
    color: #fff;
    border: none;
    background: linear-gradient(0deg, #185de7 0%, #4885ff 100%);
  }
}

.btn-add {
  float: right;
  width: 40px;
  height: 40px;
  padding: 8px;
  font-size: 24px;
  color: #505971;
  border: 1px solid #a8adb7;
  background: linear-gradient(0deg, #d4dbe8 0%, #f8f9fb 100%);
  border-radius: 3px;
}

.btn-add-primary {
  padding: 5px;
  font-size: 30px;
  border-radius: 3px;
  color: #fff;
  background: linear-gradient(0deg, #185de7 0%, #4885ff 100%);

  &:hover,
  &:focus {
    color: #fff;
  }
}

.btn-text {
  padding: 0;
  font-size: 16px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: underline;
}

// .el-table__body tr.current-row > td{

// background: #E6EDFB!important;
// }

.btn-c-default {
  padding: 8px 15px;
  border: 1px solid #c1c8d7;
  background: linear-gradient(0deg, #d4dbe8 0%, #f8f9fb 100%);
  border-radius: 3px;
}
.btn-c-primary {
  padding: 8px 15px;
  color: #fff;
  background: linear-gradient(0deg, #185de8 0%, #4885ff 100%);
  border-radius: 3px;

  &:hover,
  &:focus {
    color: #ffffff;
  }
}

.mt10 {
  margin-top: 10px;
}
.mt5 {
  margin-top: 5px;
}
.mt15 {
  margin-top: 15px;
}
.mt20 {
  margin-top: 20px;
}
.mb20 {
  margin-bottom: 20px;
}

.pd-3-0 {
  padding: 3px 0 !important;

  .cell {
    padding: 0 4px;
  }
}

.button-group {
  .el-button {
    padding: 10px 20px;
    font-size: 18px;
  }
}

.tab-wrap {
  padding: 0 20px 20px 20px;
  background-color: rgb(242, 243, 247);
  box-shadow: 0px 3px 7.76px 0.24px rgba(122, 128, 159, 0.15);

  .el-tabs {
    min-width: 400px;
  }

  .el-tabs__active-bar {
    height: 4px;
  }

  .el-tabs__item {
    font-size: 18px;
  }
}

// 图片按钮
.btn-list {
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
}

.btn-img-text {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  padding-right: 10px;
  border-width: 1px;
  border-color: rgb(193, 200, 215);
  border-style: solid;
  border-radius: 3px;
  background-image: linear-gradient(
    90deg,
    rgb(205, 212, 227) 0%,
    rgb(255, 255, 255) 100%
  );
  cursor: pointer;

  &:hover {
    color: #fff;
    border-color: rgb(24, 93, 232);
    background-image: linear-gradient(
      90deg,
      rgb(24, 93, 232) 0%,
      rgb(71, 132, 255) 100%
    );

    .icon-img.batch {
      background-image: url('./assets/icon-new/icon-batch-active.png');
    }
  }

  .icon-img {
    display: block;
    width: 40px;
    height: 38px;
    background-repeat: no-repeat;
    background-position: center;

    &.batch {
      background-image: url('./assets/icon-new/icon-batch.png');
    }
  }
}

.btn-img {
  display: flex;
  justify-content: center;
  align-items: center;
  border-width: 1px;
  border-color: rgb(193, 200, 215);
  border-style: solid;
  border-radius: 3px;
  background-image: linear-gradient(
    90deg,
    rgb(205, 212, 227) 0%,
    rgb(255, 255, 255) 100%
  );
  cursor: pointer;

  &:not(:first-child) {
    margin-left: 10px;
  }

  &.btn-40 {
    width: 40px;
    height: 40px;
  }

  &.table-btn {
    width: 34px;
    height: 34px;
  }

  &.hover {
    &:hover {
      // border: none;
      border-color: rgb(24, 93, 232);
      background-image: linear-gradient(
        90deg,
        rgb(24, 93, 232) 0%,
        rgb(71, 132, 255) 100%
      );

      .save {
        background-image: url('./assets/icon-new/icon-save-active.png');
      }

      .edit {
        background-image: url('./assets/icon-new/icon-edit-active.png');
      }

      .delete {
        background-image: url('./assets/icon-new/icon-delete-active.png');
      }

      .download {
        background-image: url('./assets/icon-new/icon-dowload-active.png');
      }

      .upload {
        background-image: url('./assets/icon-new/icon-upload-active.png');
      }
    }
  }

  .icon-img {
    display: block;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;

    &.add {
      background-image: url('./assets/icon-new/icon-plus.png');
    }

    &.save {
      background-image: url('./assets/icon-new/icon-save.png');
    }

    &.edit {
      background-image: url('./assets/icon-new/icon-edit.png');
    }

    &.delete {
      background-image: url('./assets/icon-new/icon-delete.png');
    }

    &.download {
      background-image: url('./assets/icon-new/icon-dowload.png');
    }

    &.upload {
      background-image: url('./assets/icon-new/icon-upload.png');
    }
  }
}

.modify-el-pagination.is-background {
  .btn-prev,
  .btn-next,
  .el-pager .number {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 16px;
    color: #fff;
    background: linear-gradient(0deg, #185de7 0%, #4885ff 100%) !important;
  }

  .el-icon{
    font-size: 16px;
    color: #fff;
  }
}


//search action .el-form-item
.search-form-item {
  margin-bottom:0;

  .el-form-item__content{
    line-height: 1;
  }
}

// 统一搜索框样式
.s-input {
  width: 270px;
  height: 34px;
  margin-right: 10px;
  background: #f9f9f9;
  border: 1px solid #c6ccd8;
  border-radius: 17px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  input {
    height: 100%;
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    color: #a8adb7;
    background: #f9f9f9;
  }
  img {
    width: 21px;
    height: 21px;
    margin-left: 8px;
    cursor: pointer;
  }
}

// 提交图片预览层级
.el-image-viewer__wrapper{
  z-index: 3000 !important;
}